package com.neu.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.neu.po.Customer;
import com.neu.po.Salesman;

public interface SalesmanService {
	//得到所有
	PageInfo<Salesman> getPaged(int pageNum,int pageSize,String keyword);
	
	List<Salesman> getAll();
	
	int update(Salesman salesman);
	
	int insert(Salesman salesman);
	
	List<Customer> getAllCustomer();
	
	int delete(int id);
}
